OIPA REST Services

Multiple load tests were conducted for REST services with a 4-JVM cluster. The objective of the test was to determine the maximum sustainable throughput while keeping database server health within acceptable limits. The cluster topology consisted of 2 JVMs deployed across two virtual machines, which were load balanced using a virtual load balancer. The test was executed with 250 concurrent users. The total test duration was 70 minutes, consisting of a 10-minute ramp-up period followed by a 60-minute steady-state execution window used for performance measurements.

The following REST JSON services were included in the test:

  • exposedComputation_Rest_Json

  • policyValuation_Rest_Json

  • clientInsert_Rest_Json

  • policyInsert_Rest_Json

  • ActivityInsert_Rest_Json

  • ProcessPolicy_Rest_Json

JVM Additional Parameters: -XX:+UseG1GC -Xms6g -Xmx6g

DB connection pool size

# Data Source Name Parameters

1.

ADMINSERVERDS

Initial Capacity = 100

Maximum Capacity = 100

Minimum Capacity = 100

2.

ADMINSERVERSEARCHDS

Initial Capacity = 50

Maximum Capacity = 50

Minimum Capacity = 50

3.

ADMINSERVERRESOURCEDS

Initial Capacity = 10

Maximum Capacity = 10

Minimum Capacity = 10

4.

ADMINSERVERREADONLYDS

Initial Capacity = 100

Maximum Capacity = 100

Minimum Capacity = 100

PAS.Properties

  • Application.configurationCacheTimeout=-1

    • Should be set to -1 in a Production environment.

    • Time to cache translations, in minutes, before checking data source for updates.

      • For value > 0, never check for updates

  • Application Mode= PRODUCTION

  • jpa.showSql=false

Results

Note: Please note that above mentioned properties are suggested purely based on the transaction configuration, list of SQLs involved and hardware specifications. This can vary depending on configuration/dump size and hardware specifications.

CPU Utilization of DB:

CPU Utilization of Application:

Memory Utilization of DB:

Memory Utilization of Application: